<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@  taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
<link rel="stylesheet" href="static/css/dd-index5.css" />
</head>
<body>
	<jsp:include page="/WEB-INF/jsps/dd/dd_home.jsp">
		<jsp:param value="0" name="index" />
	</jsp:include>
	<div class="gg">
		<div class="jbxx">
			<ul>
				<li style="color: #E4393C; font-weight: bold;">基本信息</li>
				<li style="color: gray; font-size: 12px;"><a class="txzp"
					href="">头像照片</a></li>
				<li style="color: gray; font-size: 12px;"><a class="gd" href="">更多个人信息</a></li>
			</ul>
		</div>

		<div class="xiangxi">
			<div class="font">
					<p class="p-p">用户名：<input type="text" id="uname" value="${yy.user_name}" /></p>
					<p class="p-p">&nbsp;&nbsp;&nbsp;昵称：<input type="text" id="nc" /></p>
					<p class="p-p">&nbsp;&nbsp;&nbsp;性别： <input type="radio" name="sex" value="男"><span style="font-size: 12px;">男</span>
						<input type="radio" name="sex" value="女"><span style="font-size: 12px;">女</span>
						<input type="radio" name="sex" value="保密"><span style="font-size: 12px;">保密</span></p>
					<p class="p-p">&nbsp;&nbsp;&nbsp;<button id="tj">提交</button></p>
			</div>
		</div>
	</div>
	
</body>
<script type="text/javascript" src="static/js/jquery-3.1.0.js"></script>
<script type="text/javascript">
	$(function(){
		var c = $("#uname").val();
		var d= $("#uname").text(c);
		
		$("#tj").click(function(){
			var name = $("#uname").val();
			var nc = $("#nc").val();
			var sex= $("input[name='sex']:checked").val();
			location.href = "index5?name="+name+"&nc="+nc+"&sex="+sex;
			alert("提交成功");
			
		})	
		
	});
</script>
</html>